package com.business.business.service.impl;

import com.business.business.entity.OepreVoca;
import com.business.business.repository.OepreVocaRepository;
import com.business.business.service.OepreVocaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



@Service
public class OepreVocaServiceImpl implements OepreVocaService {

    @Autowired
    OepreVocaRepository oepreVocaRepository;

    @Override
    public OepreVoca findOepreVocaByUsernameAndPass(String username, String pass) {

       OepreVoca oepreVocas = oepreVocaRepository.findOepreVocaByUsernameAndPass(username,pass);
        return oepreVocas;
    }
}
